package com.example.data.factory.common.result;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jetbrains.annotations.NotNull;

/**
 * Copyright (C), 2024-2024, BUG闭退！
 * Author:
 * Date: 2024/12/19 11:30
 * FileName: PageDTo
 * Description:
 */
@Data
@ApiModel(description ="分页对象")
public class PageDTO {
    @ApiModelProperty(value = "当前页码",required = true)
    @NotNull
    private Integer pageNumber = 1;
    @ApiModelProperty(value = "每页显示数量",required = true)
    private Integer pageSize = 10;
}
